package my.dao;

import java.sql.SQLException;
import java.util.List;

import my.bean.Credits;

public interface ICreditsDao {

	int add(Credits credit) throws SQLException;

	int modidy(Credits credit) throws SQLException;

	int deleteById(int cid) throws SQLException;

	List<Credits> findAll();

	List<Credits> findByUserID(int userid);

	Credits findByCId(int cid);

}
